package com.elinkway.infinitemovies.http.parser;

import android.text.TextUtils;

import com.elinkway.infinitemovies.bean.UTPState;
import com.lvideo.http.exception.DataIsErrException;
import com.lvideo.http.exception.DataIsNullException;
import com.lvideo.http.exception.DataNoUpdateException;
import com.lvideo.http.exception.JsonCanNotParseException;
import com.lvideo.http.exception.ParseException;

import org.json.JSONObject;

public class UTPLiveParser extends LVideoMobileParser<UTPState>{

    @Override
    public UTPState initialParse(String data) throws JsonCanNotParseException, DataIsNullException,
            ParseException, DataIsErrException, DataNoUpdateException {
        UTPState utpState = null;
        if (!TextUtils.isEmpty(data)) {
            utpState = new UTPState();
            utpState.setState(data);
        }
        return utpState;
    }

    @Override
    public UTPState parse(JSONObject data) throws Exception {
        return null;
    }

}
